cURL
curl --request GET \ --url https://api.hyperline.co/v1/customers/{id}/payment-methods \ --header 'Authorization: Bearer <token>'
{ "meta": { "total": 1, "taken": 1, "skipped": 0, "approximateCount": false }, "data": [ { "id": "pm_1xMpj5bwRqN7LM", "status": "active", "type": "card", "last_4_digits": 2718, "expiration_date": "2027-11", "brand": "visa" } ] }
Retrieve payment methods attached to a customer.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
List of PaymentMethod.
Default payment method of the customer. Only applies to card and direct debit.
Was this page helpful?